package com.zgw.fireline.base.test;

import java.io.File;
import java.net.URL;

import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;

import com.zgw.fireline.base.IDesignOnLine;

public class DesignComp extends Composite implements IDesignOnLine {

	/**
	 * Create the composite.
	 * 
	 * @param parent
	 * @param style
	 */
	public DesignComp(Composite parent, int style) {
		super(parent, style);
		
		Label lblNewLabel_1 = new Label(this, SWT.NONE);
		lblNewLabel_1.setBounds(32, 45, 48, 17);
		lblNewLabel_1.setText("我爱修改");
		
		//adsfadfad

	}

	@Override
	protected void checkSubclass() {
		// Disable the check that prevents subclassing of SWT components
	}

	public static void main(String[] args) {
		try {
			File f = new File("d:/test/");
			URL u = f.toURI().toURL();

		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
